package com.github.sbb.sherry.repository.mapper;

import com.github.sbb.sherry.repository.entity.BaseRule;
import com.github.sbb.sherry.repository.entity.BaseRuleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BaseRuleMapper {
    long countByExample(BaseRuleExample example);

    int deleteByExample(BaseRuleExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(BaseRule row);

  int insertSelective(BaseRule row);

    List<BaseRule> selectByExample(BaseRuleExample example);

    BaseRule selectByPrimaryKey(Integer id);

  int updateByExampleSelective(@Param("row") BaseRule row, @Param("example") BaseRuleExample example);

  int updateByExample(@Param("row") BaseRule row, @Param("example") BaseRuleExample example);

  int updateByPrimaryKeySelective(BaseRule row);

  int updateByPrimaryKey(BaseRule row);
}